<ul class="nav"><li class="col-sm-12" ng-repeat="cate in $ctrl.page.parentNavs"><span class="form-check form-switch"><input type="checkbox" ng-model="cate.isActived" id="cate_{{$index}}" class="form-check-input"> <label class="form-check-input" for="cate_{{$index}}">{{cate.description}}</label></span></li></ul>